package com.pojo;

import javax.xml.crypto.Data;
import java.io.Serializable;

public class Collection implements Serializable {

        private int id;
        private int orderId;
        private int voucherNumber;
        private String paymentMethod;
        private String amountCollected;
        private String ygname;
        private Data collectionDate;
        private String addOwnership;
        private String modify;
        private String deleteOwnership;
        private int collectionStatus;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getVoucherNumber() {
        return voucherNumber;
    }

    public void setVoucherNumber(int voucherNumber) {
        this.voucherNumber = voucherNumber;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getAmountCollected() {
        return amountCollected;
    }

    public void setAmountCollected(String amountCollected) {
        this.amountCollected = amountCollected;
    }

    public String getYgname() {
        return ygname;
    }

    public void setYgname(String ygname) {
        this.ygname = ygname;
    }

    public Data getCollectionDate() {
        return collectionDate;
    }

    public void setCollectionDate(Data collectionDate) {
        this.collectionDate = collectionDate;
    }

    public String getAddOwnership() {
        return addOwnership;
    }

    public void setAddOwnership(String addOwnership) {
        this.addOwnership = addOwnership;
    }

    public String getModify() {
        return modify;
    }

    public void setModify(String modify) {
        this.modify = modify;
    }

    public String getDeleteOwnership() {
        return deleteOwnership;
    }

    public void setDeleteOwnership(String deleteOwnership) {
        this.deleteOwnership = deleteOwnership;
    }

    public int getCollectionStatus() {
        return collectionStatus;
    }

    public void setCollectionStatus(int collectionStatus) {
        this.collectionStatus = collectionStatus;
    }

    @Override
    public String toString() {
        return "Collection{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", voucherNumber=" + voucherNumber +
                ", paymentMethod='" + paymentMethod + '\'' +
                ", amountCollected='" + amountCollected + '\'' +
                ", ygname='" + ygname + '\'' +
                ", collectionDate=" + collectionDate +
                ", addOwnership='" + addOwnership + '\'' +
                ", modify='" + modify + '\'' +
                ", deleteOwnership='" + deleteOwnership + '\'' +
                ", collectionStatus=" + collectionStatus +
                '}';
    }
}
